<template>
  <div>
    <iframe :src=pdfUrl frameborder="0" width="100%" height="800px"></iframe>
  </div>
</template>

<script>
  export default {
    name: "Pdf",
    data() {
      return {
        pdfUrl: ''
      }
    },
    mounted(){
      this.loadPdfUrl();
    },
    methods: {
      loadPdfUrl(){
        this.pdfUrl='/pdfjs/web/viewer.html?file'+encodeURIComponent()
      }
    }
  }
</script>

<style scoped>

</style>